package com.eqdd.yiqidian.ui.discover.workdiary

import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.View
import com.eqdd.yiqidian.base.BaseShowActivity
import com.eqdd.yiqidian.base.Config

/**
 * 当日任务
 * Created by jhj on 18-5-10.
 */

class TodayTaskActivity : BaseShowActivity() {

    override fun initTitle() {
        initTopTitleBar(View.VISIBLE, "当日任务")
    }

    override fun getFragment(status: Int): Fragment {
        val fragment = TodayRenwuFragment()
        val bundle = Bundle()
        bundle.putInt(Config.STATUS, status)
        bundle.putInt(Config.WHO, 0)
        fragment.setArguments(bundle)
        return fragment
    }

    override fun initData() {
        isRxbus = true
        titles.add("未完成")
        titles.add("未验收")
    }
}
